package com.xy.blog.user.controller.model.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zanhonglei
 * @version V1.0
 * @Description:
 * @date 2019/11/10 9:35 下午
 */
@Data
public class AccountReq {
    private Long id;

    private Long attrDictId;

    private String account;

    @NotBlank(message = "不能为空")
    private String password;
    /**
     * 是否冻结
     * true 冻结
     * false 正常使用
     */
    @NotBlank(message = "不能为空")
    private String lock;

    @NotNull(message = "不能为空")
    private Long userId;

}
